package model.VO;

public class UserLoginVO {
    private int id;
    private String name;
    private String token;
    private String avatar;
    private String phone;
    public UserLoginVO() {
    }

    public UserLoginVO(int id, String name, String token, String avatar, String phone) {
        this.id = id;
        this.name = name;
        this.token = token;
        this.avatar = avatar;
        this.phone = phone;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return token
     */
    public String getToken() {
        return token;
    }

    /**
     * 设置
     * @param token
     */
    public void setToken(String token) {
        this.token = token;
    }

    /**
     * 获取
     * @return avatar
     */
    public String getAvatar() {
        return avatar;
    }

    /**
     * 设置
     * @param avatar
     */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String toString() {
        return "UserLoginVO{id = " + id + ", name = " + name + ", token = " + token + ", avatar = " + avatar + ", phone = " + phone + "}";
    }
}
